package cn.itcast.java.inner;

/**
 * Author itcast
 * Date 2021/10/10 11:13
 * Desc TODO
 */
public class AnimalClass {

    //成员内部类
    public class Feature{  //成员内部类
        //当前AnimalClass增强功能
        // 飞
        private String fly;
        // 观赏功能
        private String view;
    }

    public void method(){
         class Value{  //局部内部类
             private String price;
         }
    }
}
